package com.holyant.report.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RptSaleSummaryDataDto {
    private String channel;
    private String platform;
    /**
     * orderType + channel + channel2rd
     */
    private String orderTypeTradeChannel2rd;
    private Integer tradeMode;
    private Integer orderType;
    // 操作状态
    private Integer opType;
    private String channel2rd;
    private Integer customer;
    private Integer orders;
    private Integer goods;

    public RptSaleSummaryDataDto(Integer tradeMode, Integer orderType, String channel2rd) {
        this.tradeMode = tradeMode;
        this.orderType = orderType;
        this.channel2rd = channel2rd;
        this.channel = "";
        this.platform = "";
        this.customer = 0;
        this.orders = 0;
        this.goods = 0;
    }
}
